﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FuturamaKassaWithGUI.Objects {
    
    /**
     * A simple class to simulate a product
     */
    
    public class Product {

        private int id;
        private string name;
        private decimal price;

        private Tag tag;

        public Product(int id, string name, decimal price, Tag tag) {
            this.id = id;
            this.name = name;
            this.price = price;
            this.tag = tag;
        }

        public int Id {
            get { return id; }
            set { id = value; }
        }

        public string Name {
            get { return name; }
            set { name = value; }
        }

        public decimal Price {
            get { return price; }
            set { price = value; }
        }

        public Tag Tag {
            get { return tag; }
            set { tag = value; }
        }
    }
}
